home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'Dataform.pas' rev: 3.00
-
- #ifndef DataformHPP
- #define DataformHPP
- #include <Frmexprt.hpp>
- #include <DBGrids.hpp>
- #include <Bde.hpp>
- #include <DBCtrls.hpp>
- #include <DBTables.hpp>
- #include <Db.hpp>
- #include <Controls.hpp>
- #include <ExtCtrls.hpp>
- #include <Forms.hpp>
- #include <Graphics.hpp>
- #include <StdCtrls.hpp>
- #include <Classes.hpp>
- #include <Windows.hpp>
- #include <SysUtils.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Dataform
- {
- //-- type declarations -------------------------------------------------------
- enum TUsedControls { ucGrid, ucScrollBox };
-
- class DELPHICLASS TDataForm;
- class PASCALIMPLEMENTATION TDataForm : public Forms::TForm
- {
- typedef Forms::TForm inherited;
-
- __published:
- Dbtables::TQuery* Query1;
- Dbtables::TQuery* Query2;
- Db::TDataSource* DataSource1;
- Db::TDataSource* DataSource2;
- Extctrls::TPanel* Panel1;
- Dbtables::TTable* Table1;
- Dbtables::TTable* Table2;
- Dbctrls::TDBNavigator* DBNavigator;
- void __fastcall FormCreate(System::TObject* Sender);
-
- private:
- int NumFields;
- int XPos;
- int YPos;
- Forms::TScrollBox* FScrollBox;
- Extctrls::TPanel* FScrollPanel;
- Extctrls::TPanel* FGridPanel1;
- Extctrls::TPanel* FGridPanel2;
- int MaxLabelWidth;
- Word CharWidth;
- int LowestControl;
- System::Set<TUsedControls, ucGrid, ucScrollBox> UsedControls;
- Controls::TControl* __fastcall CreateControl(Frmexprt::PFieldInfo Field);
- System::AnsiString __fastcall CreateName(Classes::TComponent* Component, System::AnsiString Value);
-
- tagPOINT __fastcall GetMaxControlValue(void);
- void __fastcall RestructureForm(int Value);
-
- public:
- bool MultiQuery;
- bool ByRow;
- int Pass;
- bool LabelsLeft;
- int LastHeight;
- bool CreateTable;
- bool GenDataSets;
- System::AnsiString UsesName;
- Db::TDataSource* MainDataSource1;
- Db::TDataSource* MainDataSource2;
- void __fastcall NextPass(void);
- Classes::TMemoryStream* __fastcall CreateRes(const System::AnsiString FormName);
- Classes::TMemoryStream* __fastcall CreateHdrSource(const System::AnsiString FilePath, const System::AnsiString
- FormName);
- Classes::TMemoryStream* __fastcall CreateCppSource(const System::AnsiString FilePath, const System::AnsiString
- FormName, System::AnsiString DMFileName);
- Classes::TMemoryStream* __fastcall CreateSource(const System::AnsiString FilePath, const System::AnsiString
- FormName);
- void __fastcall CreateField(const System::AnsiString FieldName, Frmexprt::PFieldInfo Field);
- void __fastcall CreateGrid(void);
- __property Forms::TScrollBox* ScrollBox = {read=FScrollBox};
- public:
- /* TCustomForm.Create */ __fastcall virtual TDataForm(Classes::TComponent* AOwner) : Forms::TForm(AOwner
- ) { }
- /* TCustomForm.CreateNew */ __fastcall TDataForm(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
- AOwner, Dummy) { }
- /* TCustomForm.Destroy */ __fastcall virtual ~TDataForm(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TDataForm(HWND ParentWindow) : Forms::TForm(ParentWindow
- ) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Dataform */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Dataform;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // Dataform
-